@import "media-queries";

.goodsCar {
  .mpy-goodsCar-hd {
    background: #eeeeee;
    .select-all {
      height: 4rem;
      position: relative;
      input {
        position: absolute;
        width: 1.5rem;
        height: 1.5rem;
        top: 50%;
        margin-top: -0.75rem;
      }
    }
    .price {
      text-align: right;
    }
    .info, .price {
      line-height: 4rem;
      font-size: 1.2rem;
      margin: 0;
      color: $AuxiliaryFontBlackColor;
      display: inline-block;
      span {
        display: inline-block;
        color: red;
        line-height: 4rem;
        font-size: 1.2rem;
      }
    }

  }
  #wrapper{
    margin-bottom: 3rem;
  }
  .mpy-goodsCar-bd {
    .mpy-goodsCar-db-item {
      position: relative;
      border-bottom: 0.5rem solid #f2f2f2;
      .mpy-goodsCar-box {
        margin: 1rem 0;
        * {
          font-size: 1.2rem;
          margin: 0;
        }
        .product-img {
          width: 7rem;
          height: 7rem;
        }
        .name {
          margin-right: 0;
          line-height: 1.6rem;
          text-align: left;
          padding-left: 0.8rem;
          width: 14rem;
        }
        .info {
          margin-right: 0;
          width: 14rem;
          text-align: left;
          padding-left: 0.8rem;
          font-size: 0.9rem;
        }
        .mpy-goodsCar-bd-num {
          padding-left: 0.8rem;
          width: 14rem;
          font-size: 0;
          span {
            font-size: 1rem;
            line-height: 2rem;
            width: 2rem;
            height: 2rem;
            display: inline-block;
            margin: 0;
            position: absolute;
            text-align: center;
            background: #eeeeee;
            border: 0.1rem solid $mainFontColor;
          }
          .item-num-add {
            background: $mainFontColor;
            color: white ;
          }
          .num {
            padding: 0;
            text-align: center;
            font-size: 1.2rem;
            line-height: 2;
            margin-left: 2rem;
            display: inline-block;
            width: 3rem;
            height: 2rem;
            border-top: 0.1rem solid $mainFontColor;
            border-bottom: 0.1rem solid $mainFontColor;
            border-left: 0;
            border-right: 0;
          }
        }
      }
      .mpy-goodsCar-checkBox {
        position: relative;
        height: 7rem;
        .select {
          display: block;
          width: 1.5rem;
          height: 1.5rem;
          top: 50%;
          position: absolute;
          margin-top: -0.75rem;
        }
      }
      .mpy-goodsCar-bd-price {
        position: relative;
        height: 7rem;
        padding: 0;
        .shopping-del {
          position: absolute;
          top: 0;
          width: 2rem;
          height: 2rem;
          right: 1rem;
        }
        .price {
          position: absolute;
          bottom: 0;
          color: $mainColor;
          right: 1rem;
        }
      }
    }
    .lose {
      background: #cccccc;
      .mpy-goodsCar-checkBox {
        font-size: 1.2rem;
        position: relative;
        .select {
          display: none;
        }
        .lose-box {
          position: absolute;
          top: 0.3rem;
          height: 2.7rem;
          span {
            line-height: 1.2rem;
            background: $mainFontColor;
            padding: 0.5rem;
            color: #fff;
          }
        }
      }
      .mpy-goodsCar-bd-num {
        display: none;
        text-align: center;
      }
      .mpy-goodsCar-bd-price {
        .price {
          color: $AuxiliaryFontBlackColor;
        }
      }
    }
  }
  .mpy-goodsCar-ft {
    position: absolute;
    width: 100%;
    bottom: 0;
  }
}
